#include "inorder/core.h"

InorderCore::InorderCore()
{
    l1cache.dram = &dram;
    pipeline.cache = &l1cache;
}
InorderCore::~InorderCore() {}
void InorderCore::run()
{
    dram.run();
    l1cache.run();
    pipeline.run();
}
void InorderCore::reset()
{
    dram.reset();
    l1cache.reset();
}
void InorderCore::print_counter()
{
    pipeline.print_counter();
    l1cache.print_counter();
}
void InorderCore::print_status()
{
}
